﻿@model WebsiteImages.Models.WebsiteImage

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>

<img alt="foo" src = "@Url.Action("GetImage", "WebsiteImage", new { id = Model.Id })" /> 

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
